/*
 * @(#)ListWorkflowProgressForm.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.workflow.web;

import com.dcivision.framework.GlobalConstant;
/**
  ListWorkflowProgressForm.java

  The ActionForm for ListWorkflowProgressForm

    @author          Angus Shiu
    @company         DCIVision Limited
    @creation date   30/07/2003
    @version         $Revision: 1.15.2.1 $
*/

public class ListWorkflowProgressForm extends com.dcivision.framework.web.AbstractSearchForm {

  public static final String REVISION = "$Revision: 1.15.2.1 $";

  private String showFullList = GlobalConstant.FALSE;
  private String showProcessedList = GlobalConstant.FALSE;
  private String viewUserRecordID  = null;
  private String delegateUserRecordID  = null;
  private String dateSearchField = null;
  private String dateFrom = null;
  private String dateTo = null;
  private String fromWhom = null;
  private String priority = null;
  private String referenceNumber = null; // Filed to keep reference object number related to DMS, Form or Interrupt.
  private String docRefenceNumber = null; //Document Reference Number
  private String attachmentName = null;
  private String taskComment = null;
  private String workflowTrackID = null;
  private boolean includeDelegateReocrd = false;//TC ADD FOR SELECT ALL TASKLIST
  
  /** Creates a new instance of ListWorkflowProgressForm */
  public ListWorkflowProgressForm() {
    super();
    this.setSortAttribute(GlobalConstant.NOT_AVAILABLE);
    this.setSortOrder("DESC");
    this.addSearchableAttribute("dateFrom");
    this.addSearchableAttribute("dateTo");
    this.addSearchableAttribute("delegateUserRecordID");
    this.addSearchableAttribute("priority");
    this.addSearchableAttribute("referenceNumber");
    this.addSearchableAttribute("fromWhom");
  }

  public String getShowFullList() {
    return (this.showFullList);
  }

  public void setShowFullList(String showFullList) {
    this.showFullList = showFullList;
  }

  public String getShowProcessedList() {
    return (this.showProcessedList);
  }

  public void setShowProcessedList(String showProcessedList) {
    this.showProcessedList = showProcessedList;
  }

  public String getViewUserRecordID() {
    return (this.viewUserRecordID );
  }

  public void setViewUserRecordID(String viewUserRecordID) {
    this.viewUserRecordID  = viewUserRecordID;
  }

  public String getDelegateUserRecordID() {
    return (this.delegateUserRecordID );
  }

  public void setDelegateUserRecordID(String delegateUserRecordID) {
    this.delegateUserRecordID  = delegateUserRecordID;
  }

  public String getDateSearchField(){
    return (this.dateSearchField);
  }

  public void setDateSearchField(String dateSearchField){
    this.dateSearchField = dateSearchField;
  }

  public String getDateFrom(){
    return (this.dateFrom);
  }

  public void setDateFrom(String dateFrom){
    this.dateFrom = dateFrom;
  }

  public String getDateTo(){
    return (this.dateTo);
  }

  public void setDateTo(String dateTo){
    this.dateTo = dateTo;
  }

  public String getFromWhom(){
     return (this.fromWhom);
  }

  public void setFromWhom(String fromWhom){
    this.fromWhom=fromWhom;
  }

  public String getPriority(){
    return (this.priority);
  }

  public void setPriority(String priority){
    this.priority = priority;
  }

  public String getReferenceNumber() {
    return referenceNumber;
  }

  public void setReferenceNumber(String refenceNumber) {
    this.referenceNumber = refenceNumber;
  }

  public String getDocReferenceNumber(){
    return this.docRefenceNumber;
  }

  public void setDocReferenceNumber(String docReferenceNumber){
    this.docRefenceNumber = docReferenceNumber;
  }
    
  public String getAttachmentName() {
  	return attachmentName;
  }
  
  public void setAttachmentName(String attachmentName) {
  	this.attachmentName = attachmentName;
  }

  public String getTaskComment() {
  	return taskComment;
  }
  
  public void setTaskComment(String taskComment) {
  	this.taskComment = taskComment;
  }
  
	public String getWorkflowTrackID() {
		return workflowTrackID;
	}
	
	public void setWorkflowTrackID(String workflowTrackID) {
		this.workflowTrackID = workflowTrackID;
	}

  public boolean isIncludeDelegateReocrd() {
    return includeDelegateReocrd;
  }

  public void setIncludeDelegateReocrd(boolean includeDelegateReocrd) {
    this.includeDelegateReocrd = includeDelegateReocrd;
  }
}
